We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for a FANTASTIC library, you guys ROCK!
So I'm using this function: return orderByDistance({ latitude, longitude }, restaurants)
return orderByDistance({ latitude, longitude }, restaurants)
and I get this error:
Now I have to go down the rabbit hole of geolib's internals to understand what is causing the error.
geolib
Would be a better DX to see something like WARNING - latitude is missing for item 5 on the list
WARNING - latitude is missing for item 5 on the list
I can submit a PR with some guidance :)
The text was updated successfully, but these errors were encountered:
Thank you! That’s a great idea! Feel free to do so!
Sorry, something went wrong.
dev(errors): better errors WIP
c480be9
WIP of fixing https://github.com/manuelbieh/geolib/issues/203\#issuecomment-508910464
No branches or pull requests
Thanks for a FANTASTIC library, you guys ROCK!
So I'm using this function:
return orderByDistance({ latitude, longitude }, restaurants)
and I get this error:
Now I have to go down the rabbit hole of
geolib
's internals to understand what is causing the error.Would be a better DX to see something like
WARNING - latitude is missing for item 5 on the list
I can submit a PR with some guidance :)
The text was updated successfully, but these errors were encountered: